package org.baojie.server.refactor.parser;

import org.baojie.server.refactor.ParserState;
import org.baojie.server.refactor.SourceDetail;

/**
 * @author baojie
 * @date 2022/6/14 下午4:34
 */
public interface Parser {

    /**
     *
     * @param sqls 需要解析的多条语句
     * @param detail 语句对应的数据源详细信息
     * @return 返回详细的解析详情
     */
    ParserState parser(String sqls, SourceDetail detail);

}
